package com.factoryMethod.factoryOne;

/**
 * @author Vhong
 * @version 1.0
 */
interface IFactory {
    public IProduct createProduct();
}

class Factory implements IFactory{
    @Override
    public IProduct createProduct() {
        return  new Product();
        }

}

